home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EDUCORP 8
/
Educorp2Compilation.sit
/
educorp2
/
Demos
/
Aztec Source Level Debugger
/
demo
/
drawbar.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1988-06-14
|
269 b
|
19 lines
#include "barchart.h"
drawbar(xyb, x, width, height, pat)
struct XYBase *xyb;
int x, width, height;
Pattern *pat;
{
Rect r;
r.left = x + xyb->xaxis;
r.right = r.left + width - 1;
r.bottom = xyb->yaxis - 1;
r.top = r.bottom - height + 1;
FillRect(&r, pat);
}